package com.kwq.feign.client;


import com.kwq.feign.pojo.email;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(value = "emailservice")
public interface EmailClient {
    @PostMapping("/email/sendEmail")
    void sendEmail(email e);
}
